import { configureStore } from "@reduxjs/toolkit";
import user_feature from "./feature/user_feature";
import file_feature from "@/store/feature/file_feature";


export * from "./feature/file_feature";
export * from "./feature/user_feature";
const store = configureStore({
  reducer: {
    user: user_feature,
    file: file_feature,
  },
});
export type IStore = ReturnType<typeof store.getState>;
export type IDispatch = typeof store.dispatch;
export default store;
